package demo4;

public class TestUser {
    public static void main(String[] args) {
        User user = JDKProxyFactory.create(new AgentUser());//new User();
        String name = user.getName();
        System.out.println(name);
    }
}
